home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 19
/
Aminet 19 (1997)(GTI - Schatztruhe)[!][Jun 1997].iso
/
Aminet
/
comm
/
www
/
urldecode.readme
< prev
next >
Wrap
Text File
|
1997-05-03
|
3KB
|
94 lines
Short: A little urldecoder for any kind of cgi-script
Author: Julien 'Jeep' PERVILLE (perville@info.iuta.u-bordeaux.fr)
Uploader: Julien 'Jeep' PERVILLE (perville@info.iuta.u-bordeaux.fr)
Type: comm/www
# # ###### # ###### ####### ##### ####### ###### #######
# # # # # # # # # # # # # # #
# # # # # # # # # # # # # #
# # ###### # # # ##### # # # # # #####
# # # # # # # # # # # # # #
# # # # # # # # # # # # # # #
##### # # ####### ###### ####### ##### ####### ###### #######
**********************************************
* urldecode 1.0 is ©1997 Julien PERVILLE *
**********************************************
Hello cgi freaks :o)
Here is a little urldecoder, with sources in ANSI C for your Miga or your Unix workstation !!!
I've also supplied the Amiga® executable (was a great machine, isn't it?).
Just for fun, Amiga® users can look at the sample AREXX® script to see how to
use urldecode into these kind of scripts...
o How to install?
Just take your binary in the bin/ directory
- urldecode_AIX4_PPC for AIX users (PowerPC 604)
- urldecode_AMIGA_MC68030 for 030 Amigas users
- urldecode_SYSV_MC88100 for MC88100 SysV users
and rename it 'urldecode'
o I've not found a binary for my machine...
Go in the src/ drawer and <<make>> urldecode
o How to make my own working version of urldecode?
go into the src/ directory and edit the Makefile
then, simply type 'make'
if it does not work
'gcc -o urldecode urldecode.c' should be OK
o How to use it into my scripts?
For Un*x users, use urldecode on *sh scripts like this:
query_string_purged=`urldecode $QUERY_STRING`
.
.
.
echo "$query_string_purged\n"
For others languages, I let you guess :o)-
Notice: urldecode 1.0 is ©1997 Julien PERVILLE
To join me:
Em@il:
mailto:perv@mygale.org
mailto:perville@info.iuta.u-bordeaux.fr
SnailMail:
Julien PERVILLE
37 rue Castéja
F-33 000 BORDEAUX
FRANCE
tel: +0033 05 56 81 60 36
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
0 0 0.0% 03-Mar-97 09:15:52 +
0 0 0.0% 03-Mar-97 08:33:08 +
424 201 52.5% 23-Feb-97 22:30:30 +urldecode_test.rexx
0 0 0.0% 03-Mar-97 09:00:48 +
3778 1669 55.8% 03-Mar-97 08:46:10 +urldecode_AIX4_PPC
18580 7436 59.9% 02-Mar-97 19:57:30 +urldecode_AMIGA_MC68030
4836 2154 55.4% 03-Mar-97 08:47:04 +urldecode_SYSV_MC88100
0 0 0.0% 03-Mar-97 09:18:34 +
441 265 39.9% 03-Mar-97 08:47:22 +Makefile
1164 398 65.8% 03-Mar-97 08:33:42 +urldecode.c
1644 763 53.5% 03-Mar-97 08:46:10 +urldecode.o
2152 922 57.1% 03-Mar-97 09:15:44 +urldecode.readme
-------- ------- ----- --------- --------
33019 13808 58.1% 03-Mar-97 19:19:56 12 files